const envConfigs = {
  dev: {
    baseUrl: '/api',
    baseRouter: '',
  },
  prod: {
    baseUrl: '',
    baseRouter: '/web-designer/',
  }
};

const param = process.env.VUE_APP_CONFIG_PARAMS;

const config = {
  pageSize: 20,
  baseUrl: envConfigs[param].baseUrl,
  baseRouter: envConfigs[param].baseRouter,
};

export default config;
